package com.ls.controller.bookingtime;

import com.ls.service.IBlackListService;
import com.ls.service.IBookingTimeService;
import com.ls.utils.ResultData;
import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName BookingTimeAppController
 * @Description app预定时段控制器
 *
 * @author pengyu
 * @since 2024-06-28
 */
@Api(value = "app预定时段", tags = "app预定时段")
@Slf4j
@RestController
@RequiredArgsConstructor
@RequestMapping("/bookingTimeApp")
public class BookingTimeAppController {
    private final IBookingTimeService service;
    /**查询所有时段*/
    @RequestMapping("getBookingTime")
    public ResultData getBookingTime() {
        return service.getBookingTime();
    }
}
